#include "entPoint.h"

#include <assert.h>

#include "types.h"

//--------------------------------------------------------------------------------------------------

EntPoint::EntPoint()
{
	type = ENT_TYPE_POINT;
}

EntPoint::EntPoint(ofxXmlSettings &xml) : Entity(xml)
{
	type = ENT_TYPE_POINT;
}

void EntPoint::customDraw()
{
	ofDrawAxis(1.0f);
}

void EntPoint::save(ofxXmlSettings &xml)
{
	// Standard attribute save ** IMPORTANT
	Entity::save(xml);
}

Entity* EntPoint::copy()
{
	EntPoint* newPoint = new EntPoint();

	entityStandardAttributesCopy(newPoint, this);

	return newPoint;
}

//--------------------------------------------------------------------------------------------------

Entity* entPoint_create(ofxXmlSettings &xml)
{
	return new EntPoint(xml);
}

//--------------------------------------------------------------------------------------------------
